package com.sjlh.centurylianhua.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 商品表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Product {
    @TableId(type= IdType.AUTO)
    private Integer id;//商品编号
    private Integer num;//商品序号
    private String name;//商品名称
    @TableField(value="typeId")
    private Integer typeId;//所属商品类别
    @TableField(exist = false)//标识非数据库字段
    private String typeName;//商品类别名称(多表连接存放名称）
    @TableField(value="depotId")
    private Integer depotId;//所属仓库
    private String jin;//商品进价
    private String shou;//商品售价
    @TableField(value="danWei")
    private String danWei;//商品单位
    @TableField(value="kuCun")
    private Integer kuCun;//商品库存
    @TableField(value="topXian")
    private Integer topXian;//商品上限
    @TableField(value="downXian")
    private Integer downXian;//商品下限
    private String remark;//商品备注
    private Integer state;//商品状态
    private String standby1;//状态
    private String standby2;
    private String standby3;
}
